package core.framework.monitor.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * with aws the health check url requires to expose to ELB which to outside, we don't want to expose /monitor/*
 * so to create safe health check url
 *
 * @author neo
 */
@RestController
public class HealthCheckController {
    @RequestMapping(value = "/health-check", method = {RequestMethod.HEAD, RequestMethod.GET})
    @ResponseBody
    public void healthCheck() {
    }
}
